package com.zy.crud.model;

import java.util.Date;

/**
 * Created by ly on 2018/2/6
 * describe：
 */
public abstract class BaseEntity<T>  implements java.io.Serializable{

    private static final long serialVersionUID = 1L;
    /**
     * 实体编号（唯一标识）
     */

    protected Long id;

    /**
     * 创建者
     */
    protected Long createBy;

    /**
     * 创建日期
     */
    protected Date createDate;
    /**
     * 更新者
     */
    protected Long updateBy;

    /**
     * 更新日期
     */
    protected Date updateDate;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Long getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }
}
